//
//  main.cpp
//  
//
//  Created by Kun Zhao on 12/12/21.
//  Copyright (c) 2012 Kyoto University. All rights reserved.
//

#include <iostream>

void test(int& x )
{
    x = 5;
}

int main( char** argv, int argc )
{
    int a = 10;
    test( a );
    std::cout << a << std::endl;
}